package com.party.core.service.member.impl;

import com.party.common.paging.Page;
import com.party.core.dao.read.member.PosterTmpOrgReadDao;
import com.party.core.model.member.PosterTmpOrg;
import com.party.core.service.member.IPosterTmpOrg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * @program: party
 * @description: 新年海报临时表_机构表_接口实现
 * @author: Hua Qunhao
 * @create: 2019-01-30 14:33
 **/
@Service
public class PosterTmpOrgService implements IPosterTmpOrg {
    @Autowired
    private PosterTmpOrgReadDao posterTmpOrgReadDao;

    @Override
    public String insert(PosterTmpOrg posterTmpOrg) {
        return null;
    }

    @Override
    public boolean update(PosterTmpOrg posterTmpOrg) {
        return false;
    }

    @Override
    public boolean deleteLogic(String id) {
        return false;
    }

    @Override
    public boolean delete(String id) {
        return false;
    }

    @Override
    public boolean batchDeleteLogic(Set<String> ids) {
        return false;
    }

    @Override
    public boolean batchDelete(Set<String> ids) {
        return false;
    }

    @Override
    public PosterTmpOrg get(String id) {
        return posterTmpOrgReadDao.get(id);
    }

    @Override
    public List<PosterTmpOrg> listPage(PosterTmpOrg posterTmpOrg, Page page) {
        return posterTmpOrgReadDao.listPage(posterTmpOrg,page);
    }

    @Override
    public List<PosterTmpOrg> list(PosterTmpOrg posterTmpOrg) {
        return posterTmpOrgReadDao.listPage(posterTmpOrg,null);
    }

    @Override
    public List<PosterTmpOrg> batchList(Set<String> ids, PosterTmpOrg posterTmpOrg, Page page) {
        return null;
    }
}
